package tk.mybatis.springboot.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import tk.mybatis.springboot.model.OrderResultMsg;
import tk.mybatis.springboot.model.TCarInsuranceOrder;
import tk.mybatis.springboot.model.TCarInsuranceOrderExtend;
import tk.mybatis.springboot.share.util.MyMapper;

public interface TCarInsuranceOrderMapper extends MyMapper<TCarInsuranceOrder>{
	public Integer myInsert(TCarInsuranceOrder tCarInsuranceOrder);
	
	public List<OrderResultMsg> getOrder(@Param("status")String status, @Param("user_id")String user_id);
	
	public List<OrderResultMsg> getAllOrder(@Param("user_id")String user_id);
	
	public TCarInsuranceOrderExtend getOrderInfo(@Param("id")String id);
	
	public Integer delOrder(@Param("id")Integer id);
}
